if ($.inArray(validateSection, ['', 'page_seo']) !== -1) {
	// TODO: make nice popups and add messages to messages table

	if ($('#page_option_page_seo').css('display') === 'block') {
	
		//if ($(':radio[name="page_parent_id"]:checked').parent().parent().prev().hasClass('site_tree_node') === false) {
		if ($(':radio[name="page_parent_id"]:checked').val() != $('#page_id').val()) {
			oSaveParams.sPageName = $('#page_name').val();
			
			if (val_is_empty(oSaveParams.sPageName) === true) {
				alert('no page name entered');
				return false;
			}
		}
	
		oSaveParams.sPageKeywords = $('#page_keywords').val();
		
		oSaveParams.sPageDesc = $('#page_desc').val();
	}
		
	if (validateSection === 'page_seo') {
		return true;
	}
}